package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <desc>
 *      机器人账号信息表实体类
 * </desc>
 *
 * @createDate 2018/10/11
 */
@Data
@NoArgsConstructor
@ItlTables("app_robot_account")
@EqualsAndHashCode(callSuper = true)
public class AppRobotAccountPO extends BasePO implements Serializable {

    @ItlField(value = "app_robot_account_id",logicKey = "key")
    private String appRobotAccountId;           // 逻辑主键

    @ItlField("robot_project_name")
    private String robotProjectName;                   // 项目id

    @ItlField("account")
    private String account;                     // 账号

    @ItlField("password")
    private String password;                    // 密码

    @ItlField("operation_time")
    private Date operationTime;                 // 生效时间

    @ItlField("abate_time")
    private Date abateTime;                     // 失效时间

    @ItlField("use_status")
    private Integer useStatus;                  // 使用状态：1激活 2禁用

    @ItlField("login_count")
    private Integer loginCount;                 // 同时登陆限制数

    @ItlField("remark")
    private String remark;                      // 备注

    @ItlField("project_id")
    private String projectId;                      // 项目编号

    @ItlField("developer_user_id")
    private String developerUserId;                      // 关联开发者用户id

}
